import instance from '../../utils/axios.js'  // 导入全局axios中间层

// 封装登陆接口
function userLogin(username,password) {
    return instance({
        url: '/admin/user/login',
        method: 'post',
        data:{username,password}
    })
}
export {userLogin}